Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-add WorldTimeModule null check to prevent NPE in GameRulesMatchModule #918

Merged
merged 1 commit into from
Sep 11, 2021

Conversation

calcastor
Copy link
Contributor

I had originally thought that setting WorldTimeModule as a soft dependency for GameRulesModule would prevent a situation like this. However, some maps in certain circumstances (such as Tetrad, as noticed today on OCC) can potentially throw an NPE when they are attempted to be cycled to.

…Module NPE

Co-authored-by: William Jeffcock <[email protected]>
Signed-off-by: BT (calcastor/mame) <[email protected]>
@Electroid Electroid merged commit 6b7498d into PGMDev:dev Sep 11, 2021
@calcastor calcastor deleted the timelock branch September 11, 2021 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants